package com.qst.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;

/**
 * 留言表
 * @TableName message
 */
@TableName(value ="message")
public class MessageVo {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @JsonProperty("mId")
    private Integer mId;

    /**
     * 企业ID
     */
    @JsonProperty("comId")
    private Integer comId;

    /**
     * 企业名称（用于前端显示）
     */
    @JsonProperty("comName")
    private String comName;

    /**
     * 留言内容
     */
    @JsonProperty("msgDetail")
    private String msgDetail;

    /**
     * 留言时间
     */
    @JsonProperty("msgTime")
    private Date msgTime;

    /**
     * 回复内容
     */
    @JsonProperty("respDetail")
    private String respDetail;

    /**
     * 回复时间
     */
    @JsonProperty("respTime")
    private Date respTime;

    /**
     * 留言状态
     */
    @JsonProperty("msgState")
    private String msgState;

    // Getter和Setter方法
    public Integer getMId() {
        return mId;
    }

    public void setMId(Integer mId) {
        this.mId = mId;
    }

    public Integer getComId() {
        return comId;
    }

    public void setComId(Integer comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getMsgDetail() {
        return msgDetail;
    }

    public void setMsgDetail(String msgDetail) {
        this.msgDetail = msgDetail;
    }

    public Date getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(Date msgTime) {
        this.msgTime = msgTime;
    }

    public String getRespDetail() {
        return respDetail;
    }

    public void setRespDetail(String respDetail) {
        this.respDetail = respDetail;
    }

    public Date getRespTime() {
        return respTime;
    }

    public void setRespTime(Date respTime) {
        this.respTime = respTime;
    }

    public String getMsgState() {
        return msgState;
    }

    public void setMsgState(String msgState) {
        this.msgState = msgState;
    }
}